package com.adtech.adms.system.datadictionary;

import java.io.Serializable;

/**
 * @author Dormin 
 * @since 2011-6-10 
 * 
 * @Copyright (C) AD Tech Workshop All Right Reserved
 */
public class DataItem implements Serializable {
	/**
	 * @function
	 * @param
	 *
	 * @return
	 * @exception
	 *
	 * @author
	 * @history
	 *
	 */
	private static final long serialVersionUID = 1128351964039786111L;
	
	private int id;
	private String name;
	private String fieldName;
	private String type;
	private boolean column = true;
	private boolean unique = false;
	private boolean multiRows = false;
	private Object value;
	private String validation;
	private boolean hidden;

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFieldName() {
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Object getValue() {
		return value;
	}
	public void setValue(Object value) {
		this.value = value;
	}
	public boolean isColumn() {
		return column;
	}
	public void setColumn(boolean column) {
		this.column = column;
	}
	public boolean isUnique() {
		return unique;
	}
	public void setUnique(boolean unique) {
		this.unique = unique;
	}
	public String getValidation() {
		return validation;
	}
	public void setValidation(String validation) {
		this.validation = validation;
	}
	public boolean isMultiRows() {
		return multiRows;
	}
	public void setMultiRows(boolean multiRows) {
		this.multiRows = multiRows;
	}
	public boolean isHidden() {
		return hidden;
	}
	public void setHidden(boolean hidden) {
		this.hidden = hidden;
	}
}
